﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SlaveComponent
{
    class ProtocolAgreementFailedException : Exception
    {
        public ProtocolAgreementFailedException()
            : base("Master doesn't support the requested protocol version.")
        {
            //
        }

        public ProtocolAgreementFailedException(Version version)
            : base("Master doesn't support the protocol version " + version.ToString() + ".")
        {
            //
        }
    }
}
